package com.yishusmt.mobsmt.dto.response;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 返回用户实体
 *
 * @author zhangyi
 * @date 2018/8/10 14:13
 */
@Data
public class UserRes {

    private Long id;

    private String name;

    private String phone;

    private String email;

    private Long headImg;

    private String contactName;

    private Long harvestAddressId;

    private String contactPhone;

    private String qq;

    private String wechat;

    private String companyName;

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(timezone = "Hongkong", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String companyAddress;
}
